package com.bianxianmao.duobao.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/7/11.
 * 人气
 */

public class PopularityBean {

    /**
     * returnValue : [{"productId":57,"periodsId":374512,"productName":"苹果Apple iPad mini4 32GB WLAN版 随机颜色","productClassId":12,"productType":"2","dbTotalCount":3688,"image1":"http://file.migree.com.cn/qmdb/goods/201610241914173558.jpg","sortNumber":10,"dbSurplusCount":3688,"periodsNumber":23819,"state":"1","winReturnAmount":0},{"productId":108,"periodsId":375530,"productName":"OPPO R9S 4GB+64GB 双卡智能手机 颜色随机","productClassId":12,"productType":"2","activityType":"3","dbTotalCount":3988,"image1":"http://file.migree.com.cn/qmdb/goods/201611181906342186.jpg","sortNumber":10,"dbSurplusCount":1742,"periodsNumber":24837,"state":"1","winReturnAmount":0},{"productId":49,"periodsId":374511,"productName":"苹果Apple iPhone7 32GB 随机颜色","productClassId":12,"productType":"2","dbTotalCount":6988,"image1":"http://file.migree.com.cn/qmdb/goods/201610241918536142.jpg","sortNumber":9,"dbSurplusCount":6988,"periodsNumber":23818,"state":"1","winReturnAmount":0},{"productId":61,"periodsId":374466,"productName":"手机话费50元 移动/联通/电信可用","productClassId":20,"productType":"2","dbTotalCount":60,"image1":"http://file.migree.com.cn/qmdb/goods/201611161913378358.jpg","sortNumber":8,"dbSurplusCount":60,"periodsNumber":23773,"state":"1","winReturnAmount":0},{"productId":62,"periodsId":375555,"productName":"手机话费100元 移动/联通/电信可用","productClassId":20,"productType":"2","dbTotalCount":120,"image1":"http://file.migree.com.cn/qmdb/goods/201612271614153945.jpg","sortNumber":7,"dbSurplusCount":53,"periodsNumber":24862,"state":"1","winReturnAmount":0},{"productId":170,"periodsId":374513,"productName":"18K白金0.20CT钻石群镶吊坠","productClassId":16,"productType":"2","dbTotalCount":1680,"image1":"http://file.migree.com.cn/qmdb/goods/201701131423383175.jpg","sortNumber":6,"dbSurplusCount":1680,"periodsNumber":23820,"state":"1","winReturnAmount":0}]
     * successed : true
     */

    private boolean successed;
    private List<ReturnValueBean> returnValue;

    public boolean isSuccessed() {
        return successed;
    }

    public void setSuccessed(boolean successed) {
        this.successed = successed;
    }

    public List<ReturnValueBean> getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(List<ReturnValueBean> returnValue) {
        this.returnValue = returnValue;
    }

    public static class ReturnValueBean {
        /**
         * productId : 57
         * periodsId : 374512
         * productName : 苹果Apple iPad mini4 32GB WLAN版 随机颜色
         * productClassId : 12
         * productType : 2
         * dbTotalCount : 3688
         * image1 : http://file.migree.com.cn/qmdb/goods/201610241914173558.jpg
         * sortNumber : 10
         * dbSurplusCount : 3688
         * periodsNumber : 23819
         * state : 1
         * winReturnAmount : 0
         * activityType : 3
         */

        private int productId;
        private int periodsId;
        private String productName;
        private int productClassId;
        private String productType;
        private int dbTotalCount;
        private String image1;
        private int sortNumber;
        private int dbSurplusCount;
        private int periodsNumber;
        private String state;
        private int winReturnAmount;
        private String activityType;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getPeriodsId() {
            return periodsId;
        }

        public void setPeriodsId(int periodsId) {
            this.periodsId = periodsId;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public int getProductClassId() {
            return productClassId;
        }

        public void setProductClassId(int productClassId) {
            this.productClassId = productClassId;
        }

        public String getProductType() {
            return productType;
        }

        public void setProductType(String productType) {
            this.productType = productType;
        }

        public int getDbTotalCount() {
            return dbTotalCount;
        }

        public void setDbTotalCount(int dbTotalCount) {
            this.dbTotalCount = dbTotalCount;
        }

        public String getImage1() {
            return image1;
        }

        public void setImage1(String image1) {
            this.image1 = image1;
        }

        public int getSortNumber() {
            return sortNumber;
        }

        public void setSortNumber(int sortNumber) {
            this.sortNumber = sortNumber;
        }

        public int getDbSurplusCount() {
            return dbSurplusCount;
        }

        public void setDbSurplusCount(int dbSurplusCount) {
            this.dbSurplusCount = dbSurplusCount;
        }

        public int getPeriodsNumber() {
            return periodsNumber;
        }

        public void setPeriodsNumber(int periodsNumber) {
            this.periodsNumber = periodsNumber;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public int getWinReturnAmount() {
            return winReturnAmount;
        }

        public void setWinReturnAmount(int winReturnAmount) {
            this.winReturnAmount = winReturnAmount;
        }

        public String getActivityType() {
            return activityType;
        }

        public void setActivityType(String activityType) {
            this.activityType = activityType;
        }
    }
}
